package com.wnhz.work.yz.bean;

import com.wnhz.work.yz.base.BaseBean;

import java.util.List;

/**
 * Created by admin on 2017/4/10.
 */
public class YusuanOrderBean extends BaseBean {

    /**
     * result : 1
     * info : {"data":[{"cart_id":"656","package_id":"611","package_name":"公寓·清新蓝","room_number":"","img":"http://www.uhousing.cn/Uploads/Picture/uploads/20161228/586330febf702.jpg","package_sku_info":"A套餐 ","package_money":"18517","nums":"1","package_cate":"工业化内装"}],"yusuan_id":"28","record_id":"48","project_name":"3.29测试项目「安卓」123","cartIds":"-656-","total_fee":"18517","total_price":"18517","total_nums":"1","contract":{"url":"http://youzhu.unohacha.com//Api/Api/getContract.html","msg":"自定义合同请前往优住官方平台上传"}}
     */

    private String result;
    /**
     * data : [{"cart_id":"656","package_id":"611","package_name":"公寓·清新蓝","room_number":"","img":"http://www.uhousing.cn/Uploads/Picture/uploads/20161228/586330febf702.jpg","package_sku_info":"A套餐 ","package_money":"18517","nums":"1","package_cate":"工业化内装"}]
     * yusuan_id : 28
     * record_id : 48
     * project_name : 3.29测试项目「安卓」123
     * cartIds : -656-
     * total_fee : 18517
     * total_price : 18517
     * total_nums : 1
     * contract : {"url":"http://youzhu.unohacha.com//Api/Api/getContract.html","msg":"自定义合同请前往优住官方平台上传"}
     */

    private InfoEntity info;

    public void setResult(String result) {
        this.result = result;
    }

    public void setInfo(InfoEntity info) {
        this.info = info;
    }

    public String getResult() {
        return result;
    }

    public InfoEntity getInfo() {
        return info;
    }

    public static class InfoEntity extends BaseBean {
        private String yusuan_id;
        private String record_id;
        private String project_name;
        private String cartIds;
        private String total_fee;
        private String total_price;
        private String total_nums;
        private String is_b;
        /**
         * url : http://youzhu.unohacha.com//Api/Api/getContract.html
         * msg : 自定义合同请前往优住官方平台上传
         */

        private ContractEntity contract;
        /**
         * cart_id : 656
         * package_id : 611
         * package_name : 公寓·清新蓝
         * room_number :
         * img : http://www.uhousing.cn/Uploads/Picture/uploads/20161228/586330febf702.jpg
         * package_sku_info : A套餐
         * package_money : 18517
         * nums : 1
         * package_cate : 工业化内装
         */

        private List<DataEntity> data;
        /**
         * install_fee : 800
         * discount : 0
         */

        private String install_fee;
        private String discount;

        public void setYusuan_id(String yusuan_id) {
            this.yusuan_id = yusuan_id;
        }

        public void setRecord_id(String record_id) {
            this.record_id = record_id;
        }

        public void setProject_name(String project_name) {
            this.project_name = project_name;
        }

        public void setCartIds(String cartIds) {
            this.cartIds = cartIds;
        }

        public void setTotal_fee(String total_fee) {
            this.total_fee = total_fee;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }

        public void setTotal_nums(String total_nums) {
            this.total_nums = total_nums;
        }

        public void setContract(ContractEntity contract) {
            this.contract = contract;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public String getYusuan_id() {
            return yusuan_id;
        }

        public String getRecord_id() {
            return record_id;
        }

        public String getProject_name() {
            return project_name;
        }

        public String getCartIds() {
            return cartIds;
        }

        public String getTotal_fee() {
            return total_fee;
        }

        public String getTotal_price() {
            return total_price;
        }

        public String getTotal_nums() {
            return total_nums;
        }

        public ContractEntity getContract() {
            return contract;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setInstall_fee(String install_fee) {
            this.install_fee = install_fee;
        }

        public void setDiscount(String discount) {
            this.discount = discount;
        }

        public String getInstall_fee() {
            return install_fee;
        }

        public String getDiscount() {
            return discount;
        }

        public String getIs_b() {
            return is_b;
        }

        public void setIs_b(String is_b) {
            this.is_b = is_b;
        }

        public static class ContractEntity extends BaseBean {
            private String url;
            private String msg;

            public void setUrl(String url) {
                this.url = url;
            }

            public void setMsg(String msg) {
                this.msg = msg;
            }

            public String getUrl() {
                return url;
            }

            public String getMsg() {
                return msg;
            }
        }

        public static class DataEntity extends BaseBean {
            private String cart_id;
            private String package_id;
            private String package_name;
            private String room_number;
            private String img;
            private String package_sku_info;
            private String package_money;
            private String nums;
            private String package_cate;

            public void setCart_id(String cart_id) {
                this.cart_id = cart_id;
            }

            public void setPackage_id(String package_id) {
                this.package_id = package_id;
            }

            public void setPackage_name(String package_name) {
                this.package_name = package_name;
            }

            public void setRoom_number(String room_number) {
                this.room_number = room_number;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public void setPackage_sku_info(String package_sku_info) {
                this.package_sku_info = package_sku_info;
            }

            public void setPackage_money(String package_money) {
                this.package_money = package_money;
            }

            public void setNums(String nums) {
                this.nums = nums;
            }

            public void setPackage_cate(String package_cate) {
                this.package_cate = package_cate;
            }

            public String getCart_id() {
                return cart_id;
            }

            public String getPackage_id() {
                return package_id;
            }

            public String getPackage_name() {
                return package_name;
            }

            public String getRoom_number() {
                return room_number;
            }

            public String getImg() {
                return img;
            }

            public String getPackage_sku_info() {
                return package_sku_info;
            }

            public String getPackage_money() {
                return package_money;
            }

            public String getNums() {
                return nums;
            }

            public String getPackage_cate() {
                return package_cate;
            }
        }
    }
}
